package ml.kupin.common.vo;

import java.io.Serializable;

/**
 * Created by 小柯(Allen Kerr) on 17.4.25 9:16.
 */
public class EasyUITreeNode implements Serializable {
    /**
     {
     "id": 1,
     "text": "Node 1",
     "state": "closed"
     }
     */

    private Long id;
    private String text;
    private String state;   //closed, open

    public EasyUITreeNode() {
    }

    public EasyUITreeNode(Long id, String text, String state) {
        this.id = id;
        this.text = text;
        this.state = state;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

}
